<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
  <!-- 页面meta -->
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">


  <title>数据 - AdminLTE2定制版</title>
  <meta name="description" content="AdminLTE2定制版">
  <meta name="keywords" content="AdminLTE2定制版">


  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.6 -->
  <!-- Font Awesome -->
  <!-- Ionicons -->
  <!-- iCheck -->
  <!-- Morris chart -->
  <!-- jvectormap -->
  <!-- Date Picker -->
  <!-- Daterange picker -->
  <!-- Bootstrap time Picker -->
  <!--<link rel="stylesheet" href="../../../plugins/timepicker/bootstrap-timepicker.min.css">-->
  <!-- bootstrap wysihtml5 - text editor -->
  <!--数据表格-->
  <!-- 表格树 -->
  <!-- select2 -->
  <!-- Bootstrap Color Picker -->
  <!-- bootstrap wysihtml5 - text editor -->
  <!--bootstrap-markdown-->
  <!-- Theme style -->
  <!-- AdminLTE Skins. Choose a skin from the css/skins
     folder instead of downloading all of them to reduce the load. -->
  <!-- Ion Slider -->
  <!-- ion slider Nice -->
  <!-- bootstrap slider -->
  <!-- bootstrap-datetimepicker -->

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->


  <!-- jQuery 2.2.3 -->
  <!-- jQuery UI 1.11.4 -->
  <!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
  <!-- Bootstrap 3.3.6 -->
  <!-- Morris.js charts -->
  <!-- Sparkline -->
  <!-- jvectormap -->
  <!-- jQuery Knob Chart -->
  <!-- daterangepicker -->
  <!-- datepicker -->
  <!-- Bootstrap WYSIHTML5 -->
  <!-- Slimscroll -->
  <!-- FastClick -->
  <!-- iCheck -->
  <!-- AdminLTE App -->
  <!-- 表格树 -->
  <!-- select2 -->
  <!-- bootstrap color picker -->
  <!-- bootstrap time picker -->
  <!--<script src="../../../plugins/timepicker/bootstrap-timepicker.min.js"></script>-->
  <!-- Bootstrap WYSIHTML5 -->
  <!--bootstrap-markdown-->
  <!-- CK Editor -->
  <!-- InputMask -->
  <!-- DataTables -->
  <!-- ChartJS 1.0.1 -->
  <!-- FLOT CHARTS -->
  <!-- FLOT RESIZE PLUGIN - allows the chart to redraw when the window is resized -->
  <!-- FLOT PIE PLUGIN - also used to draw donut charts -->
  <!-- FLOT CATEGORIES PLUGIN - Used to draw bar charts -->
  <!-- jQuery Knob -->
  <!-- Sparkline -->
  <!-- Morris.js charts -->
  <!-- Ion Slider -->
  <!-- Bootstrap slider -->
  <!-- bootstrap-datetimepicker -->
  <!-- 页面meta /-->

  <link rel="stylesheet" href="../plugins/bootstrap/css/bootstrap.min.css"
        th:href="@{/plugins/bootstrap/css/bootstrap.min.css}">
  <link rel="stylesheet" href="../plugins/font-awesome/css/font-awesome.min.css"
        th:href="@{/plugins/font-awesome/css/font-awesome.min.css}">
  <link rel="stylesheet" href="../plugins/ionicons/css/ionicons.min.css"
        th:href="@{/plugins/ionicons/css/ionicons.min.css}">
  <link rel="stylesheet" href="../plugins/iCheck/square/blue.css" th:href="@{/plugins/iCheck/square/blue.css}">
  <link rel="stylesheet" href="../plugins/morris/morris.css" th:href="@{/plugins/morris/morris.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/jvectormap/jquery-jvectormap-1.2.2.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/datepicker/datepicker3.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/daterangepicker/daterangepicker.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/datatables/dataTables.bootstrap.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/treeTable/jquery.treetable.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/treeTable/jquery.treetable.theme.default.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/select2/select2.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/colorpicker/bootstrap-colorpicker.min.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/adminLTE/css/AdminLTE.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/adminLTE/css/skins/_all-skins.min.css}">
  <link rel="stylesheet" href=".." th:href="@{/css/style.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/ionslider/ion.rangeSlider.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/ionslider/ion.rangeSlider.skinNice.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/bootstrap-slider/slider.css}">
  <link rel="stylesheet" href=".." th:href="@{/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.css}">
</head>

<body class="hold-transition skin-purple sidebar-mini">

<div class="wrapper">

  <!-- 页面头部 -->
  <div th:replace="Bar/Bar::topbar"></div>
  <!-- 页面头部 /-->

  <!-- 导航侧栏 -->
  <div th:replace="Bar/Bar::slidebar"></div>
  <!-- 导航侧栏 /-->

  <!-- 内容区域 -->
  <!-- @@master = admin-layout.html-->
  <!-- @@block = content -->

  <div class="content-wrapper">

    <!-- 内容头部 -->
    <section class="content-header">
      <h1>
        模块名称
        <small>模块功能</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> 排版排表</a></li>
        <li><a href="#">查看所有1201值班信息</a></li>
        <li class="active">模块功能</li>
      </ol>
    </section>
    <!-- 内容头部 /-->

    <!-- 正文区域 -->
    <section class="content">
      <div class="row">
        <!-- left column -->
        <!--/.col (left) -->
        <!-- right column -->
        <div class="col-md-6">


          <!-- /.box -->
        </div>
        <!--/.col (right) -->
      </div>
      <div class="box box-primary">
        <div class="box-header with-border">
          <h3 class="box-title">1201值班排班</h3>
        </div>

        <div class="box-body">
          <form role="form" method="post" action="/attadminedit" th:action="@{/attadminedit}">
            <input type="hidden" name="_method" th:value="POST">
            <!-- text input -->
            <th scope="row"><b>空闲时间<span style="color: red">*</span></b></th>
            <br>
            <table class="table">
              <thead>
              <tr>
                <th scope="col">节次</th>
                <th scope="col">星期一</th>
                <th scope="col">星期二</th>
                <th scope="col">星期三</th>
                <th scope="col">星期四</th>
                <th scope="col">星期五</th>
              </tr>
              </thead>
              <tbody>
              <tr>
                <th scope="row">1-2节</th>
                <td>
                  <select multiple="multiple" size="3" name="two_1">
                    <option th:each="time:${time01}" th:text="${time.s_name} + (${time.s_leisure_1 == 12}?' ':(${time.s_leisure_1 == 1}?'(单)':'(双)'))" th:value="${time.s_id}"></option>
                  </select>
                </td>
                <td>
                  <select multiple="multiple" size="3" name="two_4">
                    <option  th:each="time:${time04}" th:text="${time.s_name} + (${time.s_leisure_4 == 12}?' ':(${time.s_leisure_4 == 1}?'(单)':'(双)'))"  th:value="${time.s_id}"></option>
                  </select>
                </td>
                <td>
                  <select multiple="multiple" size="3" name="two_7">
                    <option th:each="time:${time07}" th:text="${time.s_name} + (${time.s_leisure_7 == 12}?' ':(${time.s_leisure_7 == 1}?'(单)':'(双)'))"  th:value="${time.s_id}"></option>
                  </select>
                </td>
                <td>
                  <select multiple="multiple" size="3" name="two_10">
                    <option  th:each="time:${time010}" th:text="${time.s_name} + (${time.s_leisure_10 == 12}?' ':(${time.s_leisure_10 == 1}?'(单)':'(双)'))"  th:value="${time.s_id}"></option>
                  </select>
                </td>
                <td>
                  <select multiple="multiple" size="3" name="two_13">
                    <option th:each="time:${time013}" th:text="${time.s_name} + (${time.s_leisure_13 == 12}?' ':(${time.s_leisure_13 == 1}?'(单)':'(双)'))" th:value="${time.s_id} "></option>
                  </select>
                </td>
              </tr>

              <th scope="row">3-4节</th>
              <td>
                <select multiple="multiple" size="3" name="two_2">
                  <option th:each="time:${time02}" th:text="${time.s_name} + (${time.s_leisure_2 == 12}?' ':(${time.s_leisure_2 == 1}?'(单)':'(双)'))"  th:value="${time.s_id}"></option>
                </select>
              </td>
              <td>
                <select multiple="multiple" size="3" name="two_5">
                  <option th:each="time:${time05}" th:text="${time.s_name} + (${time.s_leisure_5 == 12}?' ':(${time.s_leisure_5 == 1}?'(单)':'(双)'))"  th:value="${time.s_id}"></option>
                </select>
              </td>
              <td>
                <select multiple="multiple" size="3" name="two_8">
                  <option th:each="time:${time08}" th:text="${time.s_name} + (${time.s_leisure_8 == 12}?' ':(${time.s_leisure_8 == 1}?'(单)':'(双)'))" th:value="${time.s_id} "></option>
                </select>
              </td>
              <td>
                <select multiple="multiple" size="3" name="two_11">
                  <option  th:each="time:${time011}" th:text="${time.s_name} + (${time.s_leisure_11 == 12}?' ':(${time.s_leisure_11 == 1}?'(单)':'(双)'))" th:value="${time.s_id} "></option>
                </select>
              </td>
              <td>
                <select multiple="multiple" size="3" name="two_14">
                  <option th:each="time:${time014}" th:text="${time.s_name} + (${time.s_leisure_14 == 12}?' ':(${time.s_leisure_14 == 1}?'(单)':'(双)'))"  th:value="${time.s_id}"></option>
                </select>
              </td>
              </tr>

              <th scope="row">5-7节</th>
              <td>
                <select multiple="multiple" size="3" name="two_3">
                  <option th:each="time:${time03}" th:text="${time.s_name} + (${time.s_leisure_3 == 12}?' ':(${time.s_leisure_3 == 1}?'(单)':'(双)'))" th:value="${time.s_id}"></option>
                </select>
              </td>
              <td>
                <select multiple="multiple" size="3" name="two_6">
                  <option  th:each="time:${time06}" th:text="${time.s_name} + (${time.s_leisure_6 == 12}?' ':(${time.s_leisure_6 == 1}?'(单)':'(双)'))"  th:value="${time.s_id}"></option>
                </select>
              </td>
              <td>
                <select multiple="multiple" size="3" name="two_9">
                  <option  th:each="time:${time09}" th:text="${time.s_name} + (${time.s_leisure_9 == 12}?' ':(${time.s_leisure_9 == 1}?'(单)':'(双)'))" th:value="${time.s_id} "></option>
                </select>
              </td>
              <td>
                <select multiple="multiple" size="3" name="two_12">
                  <option th:each="time:${time012}" th:text="${time.s_name} + (${time.s_leisure_12 == 12}?' ':(${time.s_leisure_12 == 1}?'(单)':'(双)'))"  th:value="${time.s_id}"></option>
                </select>
              </td>
              <td>
                <select multiple="multiple" size="3" name="two_15">
                  <option  th:each="time:${time015}" th:text="${time.s_name} + (${time.s_leisure_15 == 12}?' ':(${time.s_leisure_15 == 1}?'(单)':'(双)'))" th:value="${time.s_id} "</option>
                </select>
              </td>
              </tr>
              </tbody>
            </table>
            <button type="submit" class="btn btn-primary">提交</button>
          </form>
        </div>
      </div>
    </section>
    <!-- 正文区域 /-->
  </div>
  <!-- @@close -->
  <!-- 内容区域 /-->

  <!-- 底部导航 -->
  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      <b>Version</b> 1.0.8
    </div>
    <strong>Copyright &copy; 2014-2017 <a href="http://www.itcast.cn">研究院研发部</a>.</strong> All rights reserved.
  </footer>
  <!-- 底部导航 /-->

</div>


<script th:src="@{/plugins/jQuery/jquery-2.2.3.min.js}"></script>
<script th:src="@{/plugins/jQueryUI/jquery-ui.min.js}"></script>
<script>
    $.widget.bridge('uibutton', $.ui.button);
</script>
<script th:src="@{/plugins/bootstrap/js/bootstrap.min.js}"></script>
<script th:src="@{/plugins/raphael/raphael-min.js}"></script>
<script th:src="@{/plugins/morris/morris.min.js}"></script>
<script th:src="@{/plugins/sparkline/jquery.sparkline.min.js}"></script>
<script th:src="@{/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js}"></script>
<script th:src="@{/plugins/jvectormap/jquery-jvectormap-world-mill-en.js}"></script>
<script th:src="@{/plugins/knob/jquery.knob.js}"></script>
<script th:src="@{/plugins/daterangepicker/moment.min.js}"></script>
<script th:src="@{/plugins/daterangepicker/daterangepicker.js}"></script>
<script th:src="@{/plugins/daterangepicker/daterangepicker.zh-CN.js}"></script>
<script th:src="@{/plugins/datepicker/bootstrap-datepicker.js}"></script>
<script th:src="@{/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js}"></script>
<script th:src="@{/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js}"></script>
<script th:src="@{/plugins/slimScroll/jquery.slimscroll.min.js}"></script>
<script th:src="@{/plugins/fastclick/fastclick.js}"></script>
<script th:src="@{/plugins/iCheck/icheck.min.js}"></script>
<script th:src="@{/plugins/adminLTE/js/app.min.js}"></script>
<script th:src="@{/plugins/treeTable/jquery.treetable.js}"></script>
<script th:src="@{/plugins/select2/select2.full.min.js}"></script>
<script th:src="@{/plugins/colorpicker/bootstrap-colorpicker.min.js}"></script>
<script th:src="@{/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.zh-CN.js}"></script>
<script th:src="@{/plugins/bootstrap-markdown/js/bootstrap-markdown.js}"></script>
<script th:src="@{/plugins/bootstrap-markdown/locale/bootstrap-markdown.zh.js}"></script>
<script th:src="@{/plugins/bootstrap-markdown/js/markdown.js}"></script>
<script th:src="@{/plugins/bootstrap-markdown/js/to-markdown.js}"></script>
<script th:src="@{/plugins/ckeditor/ckeditor.js}"></script>
<script th:src="@{/plugins/input-mask/jquery.inputmask.js}"></script>
<script th:src="@{/plugins/input-mask/jquery.inputmask.date.extensions.js}"></script>
<script th:src="@{/plugins/input-mask/jquery.inputmask.extensions.js}"></script>
<script th:src="@{/plugins/datatables/jquery.dataTables.min.js}"></script>
<script th:src="@{/plugins/datatables/dataTables.bootstrap.min.js}"></script>
<script th:src="@{/plugins/chartjs/Chart.min.js}"></script>
<script th:src="@{/plugins/flot/jquery.flot.min.js}"></script>
<script th:src="@{/plugins/flot/jquery.flot.resize.min.js}"></script>
<script th:src="@{/plugins/flot/jquery.flot.pie.min.js}"></script>
<script th:src="@{/plugins/flot/jquery.flot.categories.min.js}"></script>
<script th:src="@{/plugins/ionslider/ion.rangeSlider.min.js}"></script>
<script th:src="@{/plugins/bootstrap-slider/bootstrap-slider.js}"></script>
<script th:src="@{/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.js}"></script>
<script th:src="@{/plugins/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js}"></script>
<script>
    $(document).ready(function () {
        // 选择框
        $(".select2").select2();

        // WYSIHTML5编辑器
        $(".textarea").wysihtml5({
            locale: 'zh-CN'
        });
    });


    // 设置激活菜单
    function setSidebarActive(tagUri) {
        var liObj = $("#" + tagUri);
        if (liObj.length > 0) {
            liObj.parent().parent().addClass("active");
            liObj.addClass("active");
        }
    }


    $(document).ready(function () {
        setSidebarActive("admin-blank");
    });
</script>

</body>

</html>